import { useThemeStore } from '../stores/themeStore';
import { getTheme } from '../theme/config';

export const useTheme = () => {
  const { mode } = useThemeStore();
  const theme = getTheme(mode);
  
  return {
    mode,
    theme,
    isDark: mode === 'dark'
  };
};